#ifndef __Main_Config_H
#define __Main_Config_H

#define ADDR_PRODUCT_CLASS 0
#define ADDR_PRODUCT_MODEL 1
#define ADDR_PRODUCT_REV 2
#define ADDR_PRODUCT_OSVER 3
#define ADDR_PRODUCT_SN 4
#define ADDR_PRODUCT_CLIENT 5
#define ADDR_PRODUCT_MANUFACTURER 6
#define ADDR_PRODUCT_DEVICE 7
#define ADDR_HARDWARE_CLASS 0
#define ADDR_HARDWARE_FREQ 1
#define ADDR_HARDWARE_VINTYPES 2
#define ADDR_HARDWARE_VOUTTYPES 3
#define ADDR_DRAWER_CLASS 0
#define ADDR_DRAWER_PARAMS 1
#define ADDR_MODBUS_CLASS 0
#define ADDR_MODBUS_ADDRESS 1
#define ADDR_MODBUS_BAUDRATE 2
#define ADDR_MODBUS_X1 3
#define ADDR_MODBUS_X2 4
#define ADDR_ETHERNET_CLASS 0
#define ADDR_ETHERNET_IP 1
#define ADDR_ETHERNET_PORT 2
#define ADDR_ETHERNET_X1 3
#define ADDR_ETHERNET_X2 4
#define ADDR_ETHERNET_SERVERADDR 5
#define ADDR_ETHERNET_HOTSTATE 6
#define ADDR_ETHERNET_HOTCLIENTADDR 7
#define ADDR_VIN_CLASS 0
#define ADDR_VIN_TAG 1
#define ADDR_VIN_MINSCALE 2
#define ADDR_VIN_MAXSCALE 3
#define ADDR_VIN_DOT 4
#define ADDR_VIN_UNITCODE 5
#define ADDR_VIN_DELAY 6
#define ADDR_VIN_BINARY 7
#define ADDR_VIN_POSI 8
#define ADDR_VIN_VELO 9
#define ADDR_VIN_TARE 10
#define ADDR_VIN_USERPOSI 11
#define ADDR_VIN_USERPOSILIMITMIN 12
#define ADDR_VIN_USERPOSILIMITMAX 13
#define ADDR_ADCHNL_CLASS 0
#define ADDR_ADCHNL_TAG 1
#define ADDR_ADCHNL_MINSCALE 2
#define ADDR_ADCHNL_MAXSCALE 3
#define ADDR_ADCHNL_DOT 4
#define ADDR_ADCHNL_UNITCODE 5
#define ADDR_ADCHNL_DELAY 6
#define ADDR_ADCHNL_VCOL 7
#define ADDR_ADCHNL_ADCOL 8
#define ADDR_ADCHNL_BINARY 9
#define ADDR_ADCHNL_POSI 10
#define ADDR_ADCHNL_VELO 11
#define ADDR_ADCHNL_TARE 12
#define ADDR_ADCHNL_USERPOSI 13
#define ADDR_ADCHNL_USERPOSILIMITMIN 14
#define ADDR_ADCHNL_USERPOSILIMITMAX 15
#define ADDR_VIN_ADCHNL_CLASS 0
#define ADDR_VIN_ADCHNL_TAG 1
#define ADDR_VIN_ADCHNL_MINSCALE 2
#define ADDR_VIN_ADCHNL_MAXSCALE 3
#define ADDR_VIN_ADCHNL_DOT 4
#define ADDR_VIN_ADCHNL_UNITCODE 5
#define ADDR_VIN_ADCHNL_DELAY 6
#define ADDR_VIN_ADCHNL_VCOL 7
#define ADDR_VIN_ADCHNL_ADCOL 8
#define ADDR_VIN_ADCHNL_BINARY 9
#define ADDR_VIN_ADCHNL_POSI 10
#define ADDR_VIN_ADCHNL_VELO 11
#define ADDR_VIN_ADCHNL_TARE 12
#define ADDR_VIN_ADCHNL_USERPOSI 13
#define ADDR_VIN_ADCHNL_USERPOSILIMITMIN 14
#define ADDR_VIN_ADCHNL_USERPOSILIMITMAX 15
#define ADDR_ACCHNL_CLASS 0
#define ADDR_ACCHNL_TAG 1
#define ADDR_ACCHNL_MINSCALE 2
#define ADDR_ACCHNL_MAXSCALE 3
#define ADDR_ACCHNL_DOT 4
#define ADDR_ACCHNL_UNITCODE 5
#define ADDR_ACCHNL_DELAY 6
#define ADDR_ACCHNL_ENCODER 7
#define ADDR_ACCHNL_RES_U 8
#define ADDR_ACCHNL_ZERO 9
#define ADDR_ACCHNL_BINARY 10
#define ADDR_ACCHNL_POSI 11
#define ADDR_ACCHNL_VELO 12
#define ADDR_ACCHNL_TARE 13
#define ADDR_ACCHNL_USERPOSI 14
#define ADDR_ACCHNL_USERPOSILIMITMIN 15
#define ADDR_ACCHNL_USERPOSILIMITMAX 16
#define ADDR_VIN_ACCHNL_CLASS 0
#define ADDR_VIN_ACCHNL_TAG 1
#define ADDR_VIN_ACCHNL_MINSCALE 2
#define ADDR_VIN_ACCHNL_MAXSCALE 3
#define ADDR_VIN_ACCHNL_DOT 4
#define ADDR_VIN_ACCHNL_UNITCODE 5
#define ADDR_VIN_ACCHNL_DELAY 6
#define ADDR_VIN_ACCHNL_ENCODER 7
#define ADDR_VIN_ACCHNL_RES_U 8
#define ADDR_VIN_ACCHNL_ZERO 9
#define ADDR_VIN_ACCHNL_BINARY 10
#define ADDR_VIN_ACCHNL_POSI 11
#define ADDR_VIN_ACCHNL_VELO 12
#define ADDR_VIN_ACCHNL_TARE 13
#define ADDR_VIN_ACCHNL_USERPOSI 14
#define ADDR_VIN_ACCHNL_USERPOSILIMITMIN 15
#define ADDR_VIN_ACCHNL_USERPOSILIMITMAX 16
#define ADDR_ICCHNL_CLASS 0
#define ADDR_ICCHNL_TAG 1
#define ADDR_ICCHNL_MINSCALE 2
#define ADDR_ICCHNL_MAXSCALE 3
#define ADDR_ICCHNL_DOT 4
#define ADDR_ICCHNL_UNITCODE 5
#define ADDR_ICCHNL_DELAY 6
#define ADDR_ICCHNL_BITS 7
#define ADDR_ICCHNL_RES_U 8
#define ADDR_ICCHNL_BINARY 9
#define ADDR_ICCHNL_POSI 10
#define ADDR_ICCHNL_VELO 11
#define ADDR_ICCHNL_TARE 12
#define ADDR_ICCHNL_USERPOSI 13
#define ADDR_ICCHNL_USERPOSILIMITMIN 14
#define ADDR_ICCHNL_USERPOSILIMITMAX 15
#define ADDR_VIN_ICCHNL_CLASS 0
#define ADDR_VIN_ICCHNL_TAG 1
#define ADDR_VIN_ICCHNL_MINSCALE 2
#define ADDR_VIN_ICCHNL_MAXSCALE 3
#define ADDR_VIN_ICCHNL_DOT 4
#define ADDR_VIN_ICCHNL_UNITCODE 5
#define ADDR_VIN_ICCHNL_DELAY 6
#define ADDR_VIN_ICCHNL_BITS 7
#define ADDR_VIN_ICCHNL_RES_U 8
#define ADDR_VIN_ICCHNL_BINARY 9
#define ADDR_VIN_ICCHNL_POSI 10
#define ADDR_VIN_ICCHNL_VELO 11
#define ADDR_VIN_ICCHNL_TARE 12
#define ADDR_VIN_ICCHNL_USERPOSI 13
#define ADDR_VIN_ICCHNL_USERPOSILIMITMIN 14
#define ADDR_VIN_ICCHNL_USERPOSILIMITMAX 15
#define ADDR_FEEDICCHNL_CLASS 0
#define ADDR_FEEDICCHNL_TAG 1
#define ADDR_FEEDICCHNL_MINSCALE 2
#define ADDR_FEEDICCHNL_MAXSCALE 3
#define ADDR_FEEDICCHNL_DOT 4
#define ADDR_FEEDICCHNL_UNITCODE 5
#define ADDR_FEEDICCHNL_DELAY 6
#define ADDR_FEEDICCHNL_RES_U 7
#define ADDR_FEEDICCHNL_BINARY 8
#define ADDR_FEEDICCHNL_POSI 9
#define ADDR_FEEDICCHNL_VELO 10
#define ADDR_FEEDICCHNL_TARE 11
#define ADDR_FEEDICCHNL_USERPOSI 12
#define ADDR_FEEDICCHNL_USERPOSILIMITMIN 13
#define ADDR_FEEDICCHNL_USERPOSILIMITMAX 14
#define ADDR_VIN_FEEDICCHNL_CLASS 0
#define ADDR_VIN_FEEDICCHNL_TAG 1
#define ADDR_VIN_FEEDICCHNL_MINSCALE 2
#define ADDR_VIN_FEEDICCHNL_MAXSCALE 3
#define ADDR_VIN_FEEDICCHNL_DOT 4
#define ADDR_VIN_FEEDICCHNL_UNITCODE 5
#define ADDR_VIN_FEEDICCHNL_DELAY 6
#define ADDR_VIN_FEEDICCHNL_RES_U 7
#define ADDR_VIN_FEEDICCHNL_BINARY 8
#define ADDR_VIN_FEEDICCHNL_POSI 9
#define ADDR_VIN_FEEDICCHNL_VELO 10
#define ADDR_VIN_FEEDICCHNL_TARE 11
#define ADDR_VIN_FEEDICCHNL_USERPOSI 12
#define ADDR_VIN_FEEDICCHNL_USERPOSILIMITMIN 13
#define ADDR_VIN_FEEDICCHNL_USERPOSILIMITMAX 14
#define ADDR_DIN_CLASS 0
#define ADDR_DIN_TAG 1
#define ADDR_DIN_STATE 2
#define ADDR_DIGITAL_CLASS 0
#define ADDR_DIGITAL_TAG 1
#define ADDR_DIGITAL_BITSHIFT 2
#define ADDR_DIGITAL_STATE 3
#define ADDR_DIN_DIGITAL_CLASS 0
#define ADDR_DIN_DIGITAL_TAG 1
#define ADDR_DIN_DIGITAL_BITSHIFT 2
#define ADDR_DIN_DIGITAL_STATE 3
#define ADDR_DOUT_CLASS 0
#define ADDR_DOUT_TAG 1
#define ADDR_DOUT_STATE 2
#define ADDR_SWITCH_CLASS 0
#define ADDR_SWITCH_TAG 1
#define ADDR_SWITCH_BITSHIFT 2
#define ADDR_SWITCH_SAFELEVEL 3
#define ADDR_SWITCH_VALIDLEVEL 4
#define ADDR_SWITCH_STATE 5
#define ADDR_DOUT_SWITCH_CLASS 0
#define ADDR_DOUT_SWITCH_TAG 1
#define ADDR_DOUT_SWITCH_BITSHIFT 2
#define ADDR_DOUT_SWITCH_SAFELEVEL 3
#define ADDR_DOUT_SWITCH_VALIDLEVEL 4
#define ADDR_DOUT_SWITCH_STATE 5
#define ADDR_VOUT_CLASS 0
#define ADDR_VOUT_TAG 1
#define ADDR_VOUT_OUTFEED 2
#define ADDR_ACTUATOR_CLASS 0
#define ADDR_ACTUATOR_TAG 1
#define ADDR_ACTUATOR_MOTIWAYS 2
#define ADDR_ACTUATOR_DUMIN 3
#define ADDR_ACTUATOR_DUMAX 4
#define ADDR_ACTUATOR_DUEXCEEDTIME 5
#define ADDR_ACTUATOR_OUTFEED 6
#define ADDR_ACTUATOR_STATEWAY 7
#define ADDR_ACTUATOR_DU 8
#define ADDR_ACTUATOR_DUEXCEEDPROTECTED 9
#define ADDR_ACTUATOR_SIMUPOSI 10
#define ADDR_VOUT_ACTUATOR_CLASS 0
#define ADDR_VOUT_ACTUATOR_TAG 1
#define ADDR_VOUT_ACTUATOR_MOTIWAYS 2
#define ADDR_VOUT_ACTUATOR_DUMIN 3
#define ADDR_VOUT_ACTUATOR_DUMAX 4
#define ADDR_VOUT_ACTUATOR_DUEXCEEDTIME 5
#define ADDR_VOUT_ACTUATOR_OUTFEED 6
#define ADDR_VOUT_ACTUATOR_STATEWAY 7
#define ADDR_VOUT_ACTUATOR_DU 8
#define ADDR_VOUT_ACTUATOR_DUEXCEEDPROTECTED 9
#define ADDR_VOUT_ACTUATOR_SIMUPOSI 10
#define ADDR_SERVOCYLINDER_CLASS 0
#define ADDR_SERVOCYLINDER_TAG 1
#define ADDR_SERVOCYLINDER_MOTIWAYS 2
#define ADDR_SERVOCYLINDER_DUMIN 3
#define ADDR_SERVOCYLINDER_DUMAX 4
#define ADDR_SERVOCYLINDER_DUEXCEEDTIME 5
#define ADDR_SERVOCYLINDER_DUZERO 6
#define ADDR_SERVOCYLINDER_VIBFREQ 7
#define ADDR_SERVOCYLINDER_VIBAMP 8
#define ADDR_SERVOCYLINDER_MOVEP 9
#define ADDR_SERVOCYLINDER_OUTFEED 10
#define ADDR_SERVOCYLINDER_STATEWAY 11
#define ADDR_SERVOCYLINDER_DU 12
#define ADDR_SERVOCYLINDER_DUEXCEEDPROTECTED 13
#define ADDR_SERVOCYLINDER_SIMUPOSI 14
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_CLASS 0
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_TAG 1
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_MOTIWAYS 2
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_DUMIN 3
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_DUMAX 4
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_DUEXCEEDTIME 5
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_DUZERO 6
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_VIBFREQ 7
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_VIBAMP 8
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_MOVEP 9
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_OUTFEED 10
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_STATEWAY 11
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_DU 12
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_DUEXCEEDPROTECTED 13
#define ADDR_VOUT_ACTUATOR_SERVOCYLINDER_SIMUPOSI 14
#define ADDR_DAFEED_CLASS 0
#define ADDR_DAFEED_TAG 1
#define ADDR_DAFEED_DUZERO 2
#define ADDR_DAFEED_GAIN 3
#define ADDR_DAFEED_OUTFEED 4
#define ADDR_DAFEED_DA 5
#define ADDR_VOUT_DAFEED_CLASS 0
#define ADDR_VOUT_DAFEED_TAG 1
#define ADDR_VOUT_DAFEED_DUZERO 2
#define ADDR_VOUT_DAFEED_GAIN 3
#define ADDR_VOUT_DAFEED_OUTFEED 4
#define ADDR_VOUT_DAFEED_DA 5
#define ADDR_PULSEMOTOR_CLASS 0
#define ADDR_PULSEMOTOR_TAG 1
#define ADDR_PULSEMOTOR_MOTIWAYS 2
#define ADDR_PULSEMOTOR_DUMIN 3
#define ADDR_PULSEMOTOR_DUMAX 4
#define ADDR_PULSEMOTOR_DUEXCEEDTIME 5
#define ADDR_PULSEMOTOR_DFMODE 6
#define ADDR_PULSEMOTOR_FEEDICCHNL 7
#define ADDR_PULSEMOTOR_FREQACCELIMIT 8
#define ADDR_PULSEMOTOR_OUTFEED 9
#define ADDR_PULSEMOTOR_STATEWAY 10
#define ADDR_PULSEMOTOR_DU 11
#define ADDR_PULSEMOTOR_DUEXCEEDPROTECTED 12
#define ADDR_PULSEMOTOR_SIMUPOSI 13
#define ADDR_PULSEMOTOR_FREQ 14
#define ADDR_PULSEMOTOR_UPLIMIT 15
#define ADDR_PULSEMOTOR_DOWNLIMIT 16
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_CLASS 0
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_TAG 1
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_MOTIWAYS 2
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DUMIN 3
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DUMAX 4
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DUEXCEEDTIME 5
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DFMODE 6
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_FEEDICCHNL 7
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_FREQACCELIMIT 8
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_OUTFEED 9
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_STATEWAY 10
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DU 11
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DUEXCEEDPROTECTED 12
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_SIMUPOSI 13
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_FREQ 14
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_UPLIMIT 15
#define ADDR_VOUT_ACTUATOR_PULSEMOTOR_DOWNLIMIT 16
#define ADDR_CLOSEDCTRL_CLASS 0
#define ADDR_CLOSEDCTRL_TAG 1
#define ADDR_CLOSEDCTRL_FEEDCHNL 2
#define ADDR_CLOSEDCTRL_PLUSDIR 3
#define ADDR_CLOSEDCTRL_ERRORGATE 4
#define ADDR_CLOSEDCTRL_ERROREXCEEDTIME 5
#define ADDR_KIDCTRL_CLASS 0
#define ADDR_KIDCTRL_TAG 1
#define ADDR_KIDCTRL_FEEDCHNL 2
#define ADDR_KIDCTRL_PLUSDIR 3
#define ADDR_KIDCTRL_ERRORGATE 4
#define ADDR_KIDCTRL_ERROREXCEEDTIME 5
#define ADDR_KIDCTRL_KMODE 6
#define ADDR_KIDCTRL_RECTIFYTIME 7
#define ADDR_KIDCTRL_K 8
#define ADDR_KIDCTRL_I 9
#define ADDR_KIDCTRL_D 10
#define ADDR_KIDCTRL_INSTGAIN 11
#define ADDR_KIDCTRL_INSTK 12
#define ADDR_CLOSEDCTRL_KIDCTRL_CLASS 0
#define ADDR_CLOSEDCTRL_KIDCTRL_TAG 1
#define ADDR_CLOSEDCTRL_KIDCTRL_FEEDCHNL 2
#define ADDR_CLOSEDCTRL_KIDCTRL_PLUSDIR 3
#define ADDR_CLOSEDCTRL_KIDCTRL_ERRORGATE 4
#define ADDR_CLOSEDCTRL_KIDCTRL_ERROREXCEEDTIME 5
#define ADDR_CLOSEDCTRL_KIDCTRL_KMODE 6
#define ADDR_CLOSEDCTRL_KIDCTRL_RECTIFYTIME 7
#define ADDR_CLOSEDCTRL_KIDCTRL_K 8
#define ADDR_CLOSEDCTRL_KIDCTRL_I 9
#define ADDR_CLOSEDCTRL_KIDCTRL_D 10
#define ADDR_CLOSEDCTRL_KIDCTRL_INSTGAIN 11
#define ADDR_CLOSEDCTRL_KIDCTRL_INSTK 12
#define ADDR_CONTROLLER_CLASS 0
#define ADDR_CONTROLLER_TAG 1
#define ADDR_CONTROLLER_ACTUATOR 2
#define ADDR_CONTROLLER_DISPCHNL 3
#define ADDR_CONTROLLER_CLOSEDCTRL 4
#define ADDR_CONTROLLER_CTRLMODE 5
#define ADDR_CONTROLLER_REFTYPE 6
#define ADDR_CONTROLLER_REF 7
#define ADDR_CONTROLLER_REFVELO 8
#define ADDR_CONTROLLER_FEED 9
#define ADDR_CONTROLLER_FEEDVELO 10
#define ADDR_CONTROLLER_MFU 11
#define ADDR_CONTROLLER_CPU 12
#define ADDR_CONTROLLER_CVU 13
#define ADDR_CONTROLLER_U 14
#define ADDR_CONTROLLER_DURATION 15
#define ADDR_CONTROLLER_TRACKID 16
#define ADDR_CONTROLLER_INWAVE 17
#define ADDR_CONTROLLER_SETWAVEFREQ 18
#define ADDR_CONTROLLER_SETWAVEMIN 19
#define ADDR_CONTROLLER_SETWAVEMAX 20
#define ADDR_CONTROLLER_WAVEMIN 21
#define ADDR_CONTROLLER_WAVEMAX 22
#define ADDR_CONTROLLER_SETWAVENUM 23
#define ADDR_CONTROLLER_WAVECOUNT 24
#define ADDR_CONTROLLER_SETCYCLENUM 25
#define ADDR_CONTROLLER_CYCLECOUNT 26
#define ADDR_CONTROLLER_X1 27
#define ADDR_CONTROLLER_X2 28
#define ADDR_PIPE_CLASS 0
#define ADDR_PIPE_TIMEINPIPE 1
#define ADDR_PIPE_RFUINPIPE 2
#define ADDR_PIPE_ACQRATE 3
#define ADDR_PIPE_UPLOADRATE 4
#define ADDR_PIPE_X1 5
#define ADDR_PIPE_X2 6
#define ADDR_PIPE_DOWNLOADING 7
#define ADDR_HISTORY_CLASS 0
#define ADDR_HISTORY_CAPACITY 1
#define ADDR_HISTORY_COUNT 2
#define ADDR_EVT_STRUCT 0
#define ADDR_EVT_MS 1
#define ADDR_EVT_CODE 2
#define ADDR_EVTHISTORY_CLASS 0
#define ADDR_EVTHISTORY_CAPACITY 1
#define ADDR_EVTHISTORY_COUNT 2
#define ADDR_EVTHISTORY_EVT 3
#define ADDR_HISTORY_EVTHISTORY_CLASS 0
#define ADDR_HISTORY_EVTHISTORY_CAPACITY 1
#define ADDR_HISTORY_EVTHISTORY_COUNT 2
#define ADDR_HISTORY_EVTHISTORY_EVT 3
#define ADDR_ENTRY_STRUCT 0
#define ADDR_ENTRY_CLASSNODE 1
#define ADDR_ENTRY_ISSINGLETON 2
#define ADDR_ENTRY_INSTANCENUM 3
#define ADDR_ENTRY_FIRSTID 4
#define ADDR_ENTRY_EACHSPACE 5
#define ADDR_DIRECTORY_CLASS 0
#define ADDR_DIRECTORY_VER 1
#define ADDR_DIRECTORY_ENTRYNUM 2
#define ADDR_DIRECTORY_ENTRY 3



#endif